From 92e3655ace0ac505c283a054d10332a00157e0bf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 3 Nov 2015 14:19:08 -0500 Subject: [PATCH] combo box: Add diagrams to CSS documentation --- gtk/gtkcombobox.c | 7 ++++++- gtk/gtkcomboboxtext.c | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 6447c67937..2b6344a730 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -90,8 +90,13 @@ * * # CSS nodes * + * |[ + * combobox + * ╰── button.combo + * ]| + * * GtkComboBox has a single CSS node with name combobox. It adds the - * .combo style class to the button (and entry) that it contains. + * .combo style class to the button that it contains. */ diff --git a/gtk/gtkcomboboxtext.c b/gtk/gtkcomboboxtext.c index df0670f8c9..a465d8be7d 100644 --- a/gtk/gtkcomboboxtext.c +++ b/gtk/gtkcomboboxtext.c @@ -70,6 +70,18 @@ * * * ]| + * + * # CSS nodes + * + * |[ + * combobox + * ├── entry.combo + * ╰── button.combo + * ]| + * + * GtkComboBoxText has a single CSS node with name combobox. It adds + * the style class .combo to the main CSS nodes of its entry and button + * children. */ static void gtk_combo_box_text_buildable_interface_init (GtkBuildableIface *iface); -- 2.30.2